<template>
B
</template>

<script setup>

import {ref,toRefs,onMounted} from "vue";

import { useRoute } from 'vue-router'
const route = useRoute()

onMounted(()=>{
    console.log("B:")
    console.log(route)
    console.log(route.params.id,route.params.name)
})

</script>

<style scoped>

</style>